package com.iflytek.autoCompareTool.common;


/**
 * @author llchen12
 * @date 2018/5/31
 */

public class Constants {

    public static final String CUSTOM_TEST = "customTest";
    public static final String TEST_SET = "testSet";
    public static final String BLACK_TEST_SET = "blacktestSet";
    public static final String TEST_MARK = "testMark";
    public static final String BLACK_TEST_MARK = "blacktestMark";



    public static final String FILE_TYPE_CUSTOM_TEST = CUSTOM_TEST;
    public static final String FILE_TYPE_TEST_SET = TEST_SET;






    // 通用
    public static final String SAME = "一致";
    public static final String DIFFER = "不一致";
    public static final String EMPTY_STRING = "";
    public static final String SERVICE = "服务";
    public static final String OPERATION = "操作";
    public static final String SEMANTIC = "语义";
    public static final String UTF8 = "UTF-8";
    public static final String RESULT = "结果";
    public static final String URL = "URL";
    public static final String FALSE = "False";
    public static final String TRUE = "True";
    public static final String NULL = "Null";
    // 运行
    public static final String START = "开始运行";
    public static final Object WATCH_THREAD = "检测数据库";
    public static final String GENERATE_TEST_SET = "生成测试集...";


    // 运行时错误
    public static final String ARGS_NUM_ERROR = "参数个数错误";
    public static final String FILE_NOT_FOUND = "未找到文件";
    public static final String IO_EXCEPTION = "IO异常";
    public static final String URL_ERROR = "无法转换成URL";
    public static final String GET_CONTENT_ERROR = "获取网页失败";
    public static final String UTF8_ERROR = "无法转成UTF-8编码";
    public static final String JSON_PARSE_ERROR = "转换JSON失败";
    public static final String JSON_KEY_NOTFOUND = "JSON的key未找到";
    public static final Object WATCH_THREAD_EXCEPTION = "监听数据库线程异常";
    public static final Object SEVICE_NOT_FOUND = "未找到service：";

    // 问题分类
    public static final String ORDER = "顺序";
    public static final String APPID_NOT_ENABLED = "厂商未开通此业务";
    public static final String QC_ERROR = "QC未分发此业务";
    public static final String PK_ERROR = "PK问题";
    public static final String RESOURCE_ERROR = "资源问题";
    public static final String OVS_ERROR = "ovs检索问题";

    public static final String SINGLE_QUOTE = "'";
    public static final String PERCENT_SIGN = "%";
    public static final String DATABASE_CONNECT_ERROR = "数据库连接失败";
    public static final String SQL_FAILED = "数据库SQL执行失败";
    public static final String DATABSE_CLOSE_ERROR = "数据库关闭失败";



    // 文件解析
    public static final String CONF_START = "js_cfg = ";

    // 测试集
    public static final String COMMON = "common";
    public static final String CUSTOM = "custom";

    // 对比
    public static final String HAS_KEY = "有字段";
    public static final String LOST_KEY = "缺字段";
    public static final String LOST_SERVICE = "部分环境业务为空";
    public static final String LOST_OPT = "部分环境操作为空";
    public static final String DIFF_KEY = "字段不一致";
    public static final String PARSE_ERROR = "无法解析";
    public static final String DIFF_VALUE = "值不一致";
    public static final String NONE_VALUE = "部分结果为空";
    public static final String TEST_DATA_ERROR = "标注语义无法转换成json";





    private Constants() {

    }


}
